home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2001 January / MacHome Magazine Demo Disc January 2001.iso / mac / Software / Networking / InterMapper 3.0 - PPC.sea / InterMapper 3.0 - PPC / InterMapper™ 3.0-PPC / InterMapper™ 3.0-PPC.rsrc / PrTy_162_com.dartware.tcp.lpr < prev    next >
Encoding:
Text File  |  2000-07-24  |  933 b   |  46 lines

  1. <!-- 
  2.     LPR (com.dartware.tcp.lpr)
  3.     Copyright © 2000 Dartware, LLC. All rights reserved.
  4. -->
  5.  
  6. <header>
  7.     type            =     "tcp-script"
  8.     package            =     "com.dartware"
  9.     probe_name        =    "tcp.lpr"
  10.     human_name        =    "LPR"
  11.     version            =     "1.1"
  12.     address_type    =     "IP"
  13.     port_number        =    "515"
  14.     
  15. </header>
  16.  
  17. <description>
  18.  
  19. ≤GB≥Line Printer Daemon Protocol≤P≥
  20.  
  21. The print server protocol used to print over a TCP/IP network, as defined in ≤U2≥RFC 1179≤P0≥. The default TCP port number for NNTP connections is port 515.
  22.  
  23. </description>
  24.  
  25. <parameters>
  26.  
  27. "Queue Name"    =     ""
  28.  
  29. </parameters>
  30.  
  31. <script>
  32.  
  33. CONN #60 (connect timeout in secs)
  34. WAIT #30 @IDLE (idle timeout in secs)
  35. SEND "\x03${Queue Name}\n"
  36. EXPT m".+" else goto @DISCONNECT
  37. DONE OKAY
  38.  
  39. @IDLE:
  40. DONE DOWN "[LPR] No data for ${_IDLETIMEOUT} seconds.  Was expecting \"${_STRINGTOMATCH}\". [Line ${_IDLELINE}]"
  41.  
  42. @DISCONNECT:
  43. DONE DOWN "[LPR] Connection disconnected while expecting \"${_STRINGTOMATCH}\"."
  44.  
  45. </script>
  46.